<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Mosaddek">
    <meta name="keyword" content="FlatLab, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
    <link rel="shortcut icon" href="img/favicon.png">

    <title>南牧物联网云平台</title>

    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/bootstrap-reset.css" rel="stylesheet">
    <!--external css-->
    <link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
	<link href="assets/morris.js-0.4.3/morris.css" rel="stylesheet" />
    <link href="assets/jquery-easy-pie-chart/jquery.easy-pie-chart.css" rel="stylesheet" type="text/css" media="screen"/>
    <link rel="stylesheet" href="css/owl.carousel.css" type="text/css">

      <!--right slidebar-->
      <link href="css/slidebars.css" rel="stylesheet">

    <!-- Custom styles for this template -->

    <link href="css/style.css" rel="stylesheet">
    <link href="css/style-responsive.css" rel="stylesheet" />



    <!-- HTML5 shim and Respond.js IE8 support of HTML5 tooltipss and media queries -->
    <!--[if lt IE 9]>
      <script src="js/html5shiv.js"></script>
      <script src="js/respond.min.js"></script>
    <![endif]-->
  </head>

  <body>

  <section id="container" >
      <!--header start-->
      <header class="header white-bg">
              <div class="sidebar-toggle-box">
                  <div class="fa fa-bars tooltips" data-placement="right" data-original-title="Toggle Navigation"></div>
              </div>
            <!--logo start-->
            <a href="index.html" class="logo"><img alt="" src="img/logo1.png" style="width:80px"><!-- <span>南牧物联网云平台</span> --></a>
            <!--logo end-->
			
            <div class="top-nav ">
                <!--search & user info start-->
                <ul class="nav pull-right top-menu">
                    <!-- <li>
                        <input type="text" class="form-control search" placeholder="Search">
                    </li> -->
                    <!-- user login dropdown start-->
                    <li class="dropdown">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                            <img alt="" src="img/avatar1_small.jpg">
                            <span class="username">张三</span>
                            <b class="caret"></b>
                        </a>
                        <ul class="dropdown-menu extended logout">
                            <div class="log-arrow-up"></div>
                            <li><a href="#"><i class=" fa fa-suitcase"></i>我的资料</a></li>
                            <li><a href="#"><i class="fa fa-cog"></i> 设置</a></li>
                            <li><a href="#"><i class="fa fa-bell-o"></i> 我的消息</a></li>
                            <li><a href="login.html"><i class="fa fa-key"></i> 注销</a></li>
                        </ul>
                    </li>
                    <!-- <li class="sb-toggle-right">
                        <i class="fa  fa-align-right"></i>
                    </li> -->
                    <!-- user login dropdown end -->
                </ul>
                <!--search & user info end-->
            </div>
			
			<div class="nav notify-row" id="top_menu">
                <!--  notification start -->
                <ul class="nav top-menu">

                    <!-- notification dropdown start-->
                    <li id="header_notification_bar" class="dropdown">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">

                            <i class="fa fa-bell-o"></i>
                            <span class="badge bg-warning">7</span>
                        </a>
                        <ul class="dropdown-menu extended notification">
                            <div class="notify-arrow notify-arrow-yellow"></div>
                            <li>
                                <p class="yellow">You have 7 new notifications</p>
                            </li>
                            <li>
                                <a href="#">
                                    <span class="label label-danger"><i class="fa fa-bolt"></i></span>
                                    Server #3 overloaded.
                                    <span class="small italic">34 mins</span>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <span class="label label-warning"><i class="fa fa-bell"></i></span>
                                    Server #10 not respoding.
                                    <span class="small italic">1 Hours</span>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <span class="label label-danger"><i class="fa fa-bolt"></i></span>
                                    Database overloaded 24%.
                                    <span class="small italic">4 hrs</span>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <span class="label label-success"><i class="fa fa-plus"></i></span>
                                    New user registered.
                                    <span class="small italic">Just now</span>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <span class="label label-info"><i class="fa fa-bullhorn"></i></span>
                                    Application error.
                                    <span class="small italic">10 mins</span>
                                </a>
                            </li>
                            <li>
                                <a href="#">See all notifications</a>
                            </li>
                        </ul>
                    </li>
                    <!-- notification dropdown end -->
                </ul>
                <!--  notification end -->
            </div>
        </header>
      <!--header end-->
      <!--sidebar start-->
      <aside>
          <div id="sidebar"  class="nav-collapse ">
              <!-- sidebar menu start-->
              <ul class="sidebar-menu" id="nav-accordion">
				  <li>
                      <a  href="index.html">
                          <i class="fa fa-dashboard"></i>
                          <span>养殖场</span>
                      </a>
                  </li>
                  <li class="sub-menu">
                      <a href="javascript:;" >
                          <i class="fa fa-table"></i>
                          <span>历史数据</span>
                      </a>
                      <ul class="sub">
						  <li ><a href="tem_history.html"><span class="title">温湿度</span></a></li>
						  <li ><a href="water_history.html"><span class="title">耗水量</span></a></li>
						  <li><a href="light_history.html"><span class="title">光照度</span></a></li>
						  <li><a href="gas_history.html"><span class="title">氨气浓度</span></a></li>
						  <li><a href="food_history.html"><span class="title">饲料量</span></a></li>
						  <li><a href="alarm_history.html"><span class="title">告警记录</span></a></li>
                      </ul>
                  </li>
                  <li class="sub-menu">
                      <a href="javascript:;" class="active" >
                          <i class="fa fa-tasks"></i>
                          <span>设备管理</span>
                      </a>
                      <ul class="sub">
                          <li class="active"><a href="device1.html"><span class="title">设备管理</span></a></li>
                      </ul>
                  </li>
                  <li class="sub-menu">
                      <a href="javascript:;" >
                          <i class="fa fa-user"></i>
                          <span>用户管理</span>
                      </a>
                      <ul class="sub">
                          <li><a href="profile.html"><span class="title">我的资料</span></a></li>
						  <li><a href="user.html"><span class="title">用户管理(admin)</span></a></li>
						  <li><a href="function:html"><span class="title">页面管理(admin)</span></a></li>
						  <li><a href="permission.html"><span class="title">权限管理(admin)</span></a></li>
						  <li><a href="javascript:void();"><span class="title">养殖场主管理(admin)

</span></a></li>
						  <li><a href="javascript:void();"><span class="title">养殖户管理(admin)</span></a></li>
                      </ul>
                  </li>
                  <li class="sub-menu">
                      <a href="javascript:;" >
                          <i class=" fa fa-gear"></i>
                          <span>系统(admin)</span>
                      </a>
                      <ul class="sub">
                          <li><a href="log.html"><span class="title">系统日志</span></a></li>
                      </ul>
                  </li>


                  <li>
                      <a  href="javascript:;">
                          <i class="fa fa-file"></i>
                          <span>系统说明</span>
                      </a>
                  </li>

                  

              </ul>
              <!-- sidebar menu end-->
          </div>
      </aside>
      <!--sidebar end-->
	  
	  
      <!--main content start-->
      <section id="main-content">
          <section class="wrapper">
		      <div class="row">
					<div class="col-lg-2">
					  <section class="panel">
                          <!-- <header class="panel-heading ">
                              栏舍
                          </header> -->
                          <div class="list-group">
                              <a class="list-group-item active " href="javascript:;"><i class="fa fa-th"></i>栏舍1</a>
                              <a class="list-group-item " href="javascript:;"><i class="fa fa-th"></i>栏舍2</a>
                              <a class="list-group-item " href="javascript:;"><i class="fa fa-th"></i>栏舍3</a>
                              <a class="list-group-item " href="javascript:;"><i class="fa fa-th"></i>栏舍4</a>
                              <a class="list-group-item " href="javascript:;"><i class="fa fa-th"></i>栏舍5</a>
                          </div>
                      </section>
				  </div>
				  <div class="col-lg-10">
                      <section class="panel">
                          <header class="panel-heading">
                              设备管理
                                <span class="pull-right">
								  <!-- <button type="button" id="loading-btn" class="btn btn-info btn-xs"><i class="fa fa-plus"></i> 增加</button> -->
								  <a href="#myModal" data-toggle="modal" class=" btn btn-info btn-xs"> <i class="fa fa-plus"></i>增加环境控制器</a>
								  <a href="#myModal1" data-toggle="modal" class=" btn btn-success btn-xs"> <i class="fa fa-plus"></i>增加料线控制器</a>
								  <a href="#myModal2" data-toggle="modal" class=" btn btn-warning btn-xs"> <i class="fa fa-plus"></i>增加母猪饲喂器</a>
							  </span>
                          </header>
						  
						  <div class="panel-body">
							  <div class="row">

								  <div class="col-lg-6 col-md-12">
									  <div class="input-group"><input type="text" placeholder="Search Here" class="input-sm form-control"> <span class="input-group-btn">
									  <button type="button" class="btn btn-sm btn-info"> 搜索!</button> </span></div>
								  </div>
								  

							  </div>
						  </div>
					  
                          <table class="table table-advance table-hover">
                              <thead>
                              <tr>
								  <th>设备</th>
								  <th>栏舍</th>
                                  <th>版本信息</th>
                                  <th>在线状态</th>
								  <th>创建人</th>
								  <th>创建时间</th>
								  <th>温度控制方式</th>
								  <th></th>
								  <th></th>
                              </tr>
                              </thead>
                              <tbody>
                              <tr>
								  <td><a  href="house.html">环境控制器1</a></td>
                                  <td><a  href="house.html">栏舍1</a></td>
								  <td>V1315454FD</td>
								  <td><span class="text-success">在线</span></td>
								  <td>张三</td>
								  <td>2017-02-27 10:10</td>
								  <td>曲线</td>
								  <td>
									  <a  href="device_detail_1.html"><span class="label label-primary"><i class="fa fa-gear"> 设置环控控制器</i></span></a>
									  <a  href="update.html"><span class="label label-danger label-mini"><i class="fa fa-adn"> 固件升级</i></span></a>
									  <a  href="javascript:var result = confirm('确认！');if(result){ alert('OK');}"><span class="label label-danger label-mini">恢复出厂设置</span></a>
								  </td>
								  
                              </tr>
							  
							  <tr>
								  <td><a  href="house1.html">环境控制器2</a></td>
                                  <td><a  href="house1.html">栏舍2</a></td>
								  <td>V1315454FD</td>
								  <td><span class="text-success">在线</span></td>
								  <td>张三</td>
								  <td>2017-02-27 10:10</td>
								  <td>曲线</td>
								  <td>
									  <a  href="device_detail_1.html"><span class="label label-primary"><i class="fa fa-gear"> 设置环控控制器</i></span></a>
									  <a  href="update.html"><span class="label label-danger label-mini"><i class="fa fa-adn"> 固件升级</i></span></a>
									  <a  href="javascript:var result = confirm('确认！');if(result){ alert('OK');}"><span class="label label-danger label-mini">恢复出厂设置</span></a>
								  </td>
                              </tr>
							  
							  <tr>
								  <td><a  href="house.html">环境控制器3</a></td>
                                  <td><a  href="house.html">栏舍3</a></td>
								  <td>V1315454FD</td>
								  <td><span class="text-success">在线</span></td>
								  <td>张三</td>
								  <td>2017-02-27 10:10</td>
								  <td>曲线</td>
								  <td>
									  <a  href="device_detail_1.html"><span class="label label-primary"><i class="fa fa-gear"> 设置环控控制器</i></span></a>
									  <a  href="update.html"><span class="label label-danger label-mini"><i class="fa fa-adn"> 固件升级</i></span></a>
									  <a  href="javascript:var result = confirm('确认！');if(result){ alert('OK');}"><span class="label label-danger label-mini">恢复出厂设置</span></a>
								  </td>
                              </tr>
							  
							  <tr>
								  <td><a  href="house.html">环境控制器4</a></td>
                                  <td><a  href="house.html">栏舍4</a></td>
								  <td>V1315454FD</td>
								  <td><span class="text-success">在线</span></td>
								  <td>张三</td>
								  <td>2017-02-27 10:10</td>
								  <td>曲线</td>
								  <td>
									  <a  href="device_detail_1.html"><span class="label label-primary"><i class="fa fa-gear"> 设置环控控制器</i></span></a>
									  <a  href="update.html"><span class="label label-danger label-mini"><i class="fa fa-adn"> 固件升级</i></span></a>
									  <a  href="javascript:var result = confirm('确认！');if(result){ alert('OK');}"><span class="label label-danger label-mini">恢复出厂设置</span></a>
								  </td>
                              </tr>
							  
							  <tr>
								  <td><a  href="house.html">料线控制器1</a></td>
                                  <td><a  href="house.html">栏舍1</a></td>
								  <td>V1315454FD</td>
								  <td><span class="text-success">在线</span></td>
								  <td>张三</td>
								  <td>2017-02-27 10:10</td>
								  <td></td>
								  <td>
									  <a  href="device_detail_1.html"><span class="label label-success"><i class="fa fa-gear"> 设置料线控制</i></span></a>
									  <a  href="update.html"><span class="label label-danger label-mini"><i class="fa fa-adn"> 固件升级</i></span></a>
									  <a  href="javascript:var result = confirm('确认！');if(result){ alert('OK');}"><span class="label label-danger label-mini">恢复出厂设置</span></a>
								  </td>
                              </tr>
							  
							  <tr>
								  <td><a  href="house.html">料线控制器2</a></td>
                                  <td><a  href="house.html">栏舍2</a></td>
								  <td>V1315454FD</td>
								  <td><span class="text-success">在线</span></td>
								  <td>张三</td>
								  <td>2017-02-27 10:10</td>
								  <td></td>
								  <td>
									  <a  href="device_detail_2.html"><span class="label label-success"><i class="fa fa-gear"> 设置料线控制</i></span></a>
									  <a  href="update.html"><span class="label label-danger label-mini"><i class="fa fa-adn"> 固件升级</i></span></a>
									  <a  href="javascript:var result = confirm('确认！');if(result){ alert('OK');}"><span class="label label-danger label-mini">恢复出厂设置</span></a>
								  </td>
                              </tr>
							  
							  <tr>
								  <td><a  href="house.html">环境控制器5</a></td>
                                  <td><a  href="house.html">栏舍5</a></td>
								  <td>V1315454FD</td>
								  <td><span class="text-success">在线</span></td>
								  <td>张三</td>
								  <td>2017-02-27 10:10</td>
								  <td>曲线</td>
								  <td>
									  <a  href="device_detail_1.html"><span class="label label-primary"><i class="fa fa-gear"> 设置环控控制器</i></span></a>
									  <a  href="update.html"><span class="label label-danger label-mini"><i class="fa fa-adn"> 固件升级</i></span></a>
									  <a  href="javascript:var result = confirm('确认！');if(result){ alert('OK');}"><span class="label label-danger label-mini">恢复出厂设置</span></a>
								  </td>
                              </tr>

							  <tr>
								  <td><a  href="house.html">母猪饲喂器1</a></td>
                                  <td><a  href="house.html">栏舍1</a></td>
								  <td>V1315454FD</td>
								  <td><span class="text-success">在线</span></td>
								  <td>张三</td>
								  <td>2017-02-27 10:10</td>
								  <td></td>
								  <td>
									  <a  href="device_detail_3.html"><span class="label label-warning"><i class="fa fa-gear"> 设置母猪饲喂器</i></span></a>
									  <a  href="update.html"><span class="label label-danger label-mini"><i class="fa fa-adn"> 固件升级</i></span></a>
									  <a  href="javascript:var result = confirm('确认！');if(result){ alert('OK');}"><span class="label label-danger label-mini">恢复出厂设置</span></a>
								  </td>
                              </tr>
							  
                              </tbody>
                          </table>
                      
						  <ul class="pagination pagination-sm pull-right">
							  <li><a href="#">«</a></li>
							  <li><a href="#">1</a></li>
							  <li><a href="#">2</a></li>
							  <li><a href="#">3</a></li>
							  <li><a href="#">4</a></li>
							  <li><a href="#">5</a></li>
							  <li><a href="#">»</a></li>
						  </ul>
					  </section>
                  </div>
			  </div>
		  </section>
	  </section>
      <!-- Right Slidebar start -->
      <!-- Right Slidebar end -->

      <!--footer start-->
      <footer class="site-footer">
          <div class="text-center">
              2017 &copy; 
              <a href="#" class="go-top">
                  <i class="fa fa-angle-up"></i>
              </a>
          </div>
      </footer>
      <!--footer end-->
	  
	  
	  
	  <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
		  <div class="modal-dialog">
			  <div class="modal-content">
				  <div class="modal-header">
					  <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
					  <h4 class="modal-title">创建环境控制器</h4>
				  </div>
				  <div class="modal-body">
					  <div class="row">
						  <div class="col-lg-12">
							  <section class="panel">
								  <header class="panel-heading">
									  
								  </header>
								  <div class="panel-body">
									  <div class="stepy-tab">
										  <ul id="default-titles" class="stepy-titles clearfix">
											  <li id="default-title-0" class="current-step">
												  <div>步骤 1</div>
											  </li>
											  <li id="default-title-1" class="">
												  <div>步骤 2</div>
											  </li>
											  <li id="default-title-2" class="">
												  <div>步骤 3</div>
											  </li>
										  </ul>
									  </div>
									  <form class="form-horizontal" id="default">
										  <fieldset title="描述" class="step" id="default-step-0">
											  <legend> </legend>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">名称</label>
												  <div class="col-lg-10">
													  <input type="text" class="form-control" placeholder="">
												  </div>
											  </div>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">日龄</label>
												  <div class="col-lg-10">
													  <input type="text" class="form-control" placeholder="">
												  </div>
											  </div>


										  </fieldset>
										  <fieldset title="设备地址" class="step" id="default-step-1" >
											  <legend> </legend>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">设备地址</label>
												  <div class="col-lg-10">
													  <input type="text" class="form-control" placeholder="">
												  </div>
											  </div>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">服务器IP</label>
												  <div class="col-lg-10">
													  <input type="text" class="form-control" placeholder="">
												  </div>
											  </div>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">端口</label>
												  <div class="col-lg-10">
													  <input type="text" class="form-control" placeholder="">
												  </div>
											  </div>

											  <div class="form-group">
												  <label class="col-lg-2 control-label">本地IP</label>
												  <div class="col-lg-10">
													  <input type="text" class="form-control" placeholder="">
												  </div>
											  </div>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">网关</label>
												  <div class="col-lg-10">
													  <input type="text" class="form-control" placeholder="">
												  </div>
											  </div>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">掩码</label>
												  <div class="col-lg-10">
													  <input type="text" class="form-control" placeholder="">
												  </div>
											  </div>
										  </fieldset>
										  <fieldset title="确认" class="step" id="default-step-2" >
											  <legend> </legend>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">名称</label>
												  <div class="col-lg-10">
													  <p class="form-control-static">栏舍1</p>
												  </div>
											  </div>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">日龄</label>
												  <div class="col-lg-10">
													  <p class="form-control-static">001</p>
												  </div>
											  </div>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">设备地址</label>
												  <div class="col-lg-10">
													  <p class="form-control-static">42000000</p>
												  </div>
											  </div>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">服务器IP</label>
												  <div class="col-lg-10">
													  <p class="form-control-static">192.168.123.234</p>
												  </div>
											  </div>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">服务器端口</label>
												  <div class="col-lg-10">
													  <p class="form-control-static">60000</p>
												  </div>
											  </div>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">本地IP</label>
												  <div class="col-lg-10">
													  <p class="form-control-static">192.168.123.112</p>
												  </div>
											  </div>

											  <div class="form-group">
												  <label class="col-lg-2 control-label">网关</label>
												  <div class="col-lg-10">
													  <p class="form-control-static">192.167.123.1</p>
												  </div>
											  </div>
											  <div class="form-group">
												  <label class="col-lg-2 control-label">掩码</label>
												  <div class="col-lg-10">
													  <p class="form-control-static">255.255.255.0</p>
												  </div>
											  </div>
										  </fieldset>
										  <input type="submit" class="finish btn btn-danger" value="确认"/>
									  </form>
								  </div>
							  </section>
						  </div>
					  </div>
				  </div>
				  <div class="modal-footer">
					  <!-- <button data-dismiss="modal" class="btn btn-danger" type="button">关闭</button> -->
					  <!-- <button class="btn btn-success" type="button">Save changes</button> -->
				  </div>
			  </div>
		  </div>
	  </div>
	  
  </section>

    <!-- js placed at the end of the document so the pages load faster -->
    <script src="js/jquery.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script class="include" type="text/javascript" src="js/jquery.dcjqaccordion.2.7.js"></script>
    <script src="js/jquery.scrollTo.min.js"></script>
    <script src="js/jquery.nicescroll.js" type="text/javascript"></script>
    <script src="js/jquery.sparkline.js" type="text/javascript"></script>
    <script src="assets/jquery-easy-pie-chart/jquery.easy-pie-chart.js"></script>
    <script src="js/owl.carousel.js" ></script>
    <script src="js/jquery.customSelect.min.js" ></script>
	<script src="assets/morris.js-0.4.3/morris.min.js" type="text/javascript"></script>
    <script src="assets/morris.js-0.4.3/raphael-min.js" type="text/javascript"></script>
    <script src="js/respond.min.js" ></script>

    <!--right slidebar-->
    <script src="js/slidebars.min.js"></script>
	
	<!--Form Validation-->
    <script src="js/bootstrap-validator.min.js" type="text/javascript"></script>

    <!--Form Wizard-->
    <script src="js/jquery.steps.min.js" type="text/javascript"></script>
    <script src="js/jquery.validate.min.js" type="text/javascript"></script>

    <!--common script for all pages-->
    <script src="js/common-scripts.js"></script>

	<!-- 引入 echarts.js -->
    <script src="assets/echart/echarts.js"></script>
	<script src="assets/echart/macarons.js"></script>
	<script src="assets/echart/china.js"></script>
	
    <!--script for this page-->
    <script src="js/sparkline-chart.js"></script>
    <script src="js/easy-pie-chart.js"></script>
	<script src="js/count.js"></script>
	<script src="js/echart.js"></script>

	<!--script for this page-->
    <script src="js/jquery.stepy.js"></script>

  <script>

      $(document).ready(function() {

      });


      $(function(){
			$('#default').stepy({
              backLabel: '返回',
              block: true,
              nextLabel: '下一步',
              titleClick: true,
              titleTarget: '.stepy-tab'
          });
      });

  </script>

  </body>
</html>
